package com.rollway.restful.annotation;


import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
public @interface RestfulClient {

    String value() default "";

    String scheme() default "http://";

    String authority();

    String prefix() default "";

    int connectTimeout() default -1;

    int readTimeout() default -1;

    int maxAttempts() default -1;

    int maxAttemptTimeMillis() default -1;

}
